<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>末上报生产工单</title>

<script type="text/javascript" src="${ctx }/js/workorders-noreport.js"></script>
<script type="text/javascript" language="javascript">
	//     var selBtn = 0;
	//     var nodeId = 0;
	$(document).ready(function() {
		loadTable();
	});
</script>
</head>
<body>
	<h4>
		生产管理. <small>编辑生产工单</small>
		</h4>

		<div class="form-inline" role="form">
			<div class="form-group">
				<div class="input-group" style="width:150px">
					<div class="input-group" style="width:150px">
						<span class="input-group-addon">批次号：</span> <input type="text"
							class="form-control" id="batchNum" name="batchNum"
							style="width:100px"> <span class="input-group-btn">
						</span>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div class="input-group" style="width:150px">
					<div class="input-group" style="width:150px">
						<span class="input-group-addon">零件类型：</span> 
							<select id="partType"
								class="form-control" name="partType">
								<option value=0>全部</option>
								<option value=1>外购</option>
								<option value=2>自制</option>
								<option value=3>组焊</option>
								<option value=4>组合</option>
								<option value=6>总成</option>
								<option value=5>整机</option>
							</select>
							<span class="input-group-btn"></span>
					</div>
				</div>
			</div>

			<div class="form-group">
				<div class="input-group" style="width:150px">
					<div class="input-group" style="width:150px">
						<span class="input-group-addon">姓名：</span> <input type="text"
							class="form-control" id="workerName" name="workerName"
							style="width:100px"> <span class="input-group-btn">
						</span>
					</div>
				</div>
			</div>
			
			<div class="form-group">
				<div class="input-group" style="width:150px">
					<div class="input-group" style="width:150px">
						<span class="input-group-addon">零件图号：</span> 
						<input type="text" class="form-control" id="partCode" name="partCode" style="width:100px"> 
						<span class="input-group-btn"></span>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div class="input-group" style="width:150px">
					<span class="input-group-btn">
						<button class="btn btn-default" type="button" onClick="searchUnreportWorkOrders()">查询</button>
					</span>
				</div>
			</div>
		</div>
<!--		<table id="planTable" class="table table-striped table-condensed"></table>-->
		<!-- jqGrid 分页 div gridPager -->
<!--		<div id="planPager"></div>-->

		<table id="partTable" class="table table-striped table-condensed"></table>
		<!-- jqGrid 分页 div gridPager -->
		<div id="partPager"></div>

		<form action="" name="data_form" id="data_form" class="form-inline"	role="form">
		</form>
<!--		<table id="proTable" class="table table-striped"></table>-->
</body>
</html>